<%@ page pageEncoding="utf-8"%>
<%@page import="com.frame.session.UserSession"%>
<%@page import="com.frame.platform.user.SessionOaUser"%>
<%String path=request.getContextPath();
SessionOaUser user=UserSession.getAdminUser(request.getSession());
if(user!=null){
    request.getRequestDispatcher("/platform/UI/"+user.getStyle()+"/index.jsp").forward(request,response);
}else{%>
<script>
window.location.href="<%=path %>/platform/index.jsp";
</script>
<%}%>